package com.iran.decorator;

public class ConcreteDecoratorB extends Decorator{

    private String addedState;

    @Override
    public void operation(){
        super.operation();
        addNewB();
    }
    private void addNewB(){
        System.out.println("B的新功能");
    }
}
